﻿using System;
using System.Collections.Generic;
using System.Text;
using DataAccess.Entitys;
using DataAccess.SQLite;

namespace DataAccess.SQLite
{
    public class AccessUser : IAccessUser
    {

        public MetaUser GetMetaUser(string uid)
        {
            DataProvider dataProvider = new DataProvider();
            try
            {
                dataProvider.Connect();
                return dataProvider.GetUser(uid);
            }
            finally 
            {
                dataProvider.Close();
            }
        }

    }
}
